'use strict';

function calculate_elements_sum(collection, element) {
  let result = collection.indexOf(element);
  console.log(result);
  return result;
  //在这里写入代码
}
calculate_elements_sum([1,11,27,20,4,9,15,4,1,11], 4);

module.exports = calculate_elements_sum;